Skip to main content

Autotools

info

In this section, you'll see what autotools is, if you're looking to configure it for your project, this is the right section.

Whats Autotools ?

Autotools is a build system created by GNU to package all their tools. It contains a suite of build and configuration tools. These tools automate the configuration, build and installation process on various UNIX systems.

Autotools is a group of 3 tools:

  • Autoconf
  • Automake
  • Libtool

What's Autoconf?

Autoconf is a tool that generates platform-independent configuration scripts (usually named configure). These scripts are responsible for checking the host system's features, libraries, and capabilities to generate a Makefile tailored to the specific system.

What's Automake?

Automake complements Autoconf by providing a set of Makefile templates and rules that simplify the process of creating Makefiles. It helps maintain consistency and compatibility between different software projects. Automake works with Autoconf to create Makefiles, which are essential for building software from source code.

info

Autotools Workflow scheme

Autotools Workflow

Libtool

danger

For 42sh you don't need to use Libtool.

Libtool is a specialized tool designed to handle challenges associated with building shared libraries on different Unix systems. It offers a standardized interface for the creation and utilization of shared libraries, making it easier to distribute.